package com.lijy.beta.biz.service.impl;

import com.lijy.beta.biz.service.DemoService;
import com.lijy.beta.dao.entity.UserDO;
import com.lijy.beta.dao.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DemoServiceImpl implements DemoService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public String test() {
        UserDO userDO = userMapper.selectByPrimaryKey(1);
        return userDO.toString();
    }
}
